#include "Instance.h"

namespace xpm {
	Instance::Instance(string name, Cls* cls):_name(name), _cls(cls) {
	}

	void Instance::setOwnSlotValues(Slot* slot, vector<string> values) {
		_slotValues[slot] = values;
	}
	void Instance::setOwnSlotValue(Slot* slot, string value) {
		_slotValue[slot] = value;
	}

	string Instance::name() {
		return _name;
	}
	Cls* Instance::cls() {
		return _cls;
	}
	SlotValueMap& Instance::slotValue() {
		return _slotValue;
	}
	SlotValuesMap& Instance::slotValues() {
		return _slotValues;
	}
}